package org.bbd.cumi.util;

import java.io.IOException;
import java.io.InputStream;

public class StringUtil {
	public static StringBuilder readAsString(InputStream is) throws IOException
	{
		StringBuilder str=new StringBuilder();
		int data;
		while((data=is.read())!=-1)
		{
			str.append((char)data);
		}
		return str;
	
	}
}
